package com.sky.zzh.today;

import com.github.mikephil.charting.components.YAxis;
import com.github.mikephil.charting.utils.ValueFormatter;


public class MyValueFormatter implements ValueFormatter {
  private YAxis yAxis = null;

  public MyValueFormatter(YAxis yAxis) {
    this.yAxis = yAxis;
  }

  public void setCusAxis(YAxis yAxis) {
    this.yAxis = yAxis;
  }

  @Override
  public String getFormattedValue(float value) {
    if (yAxis != null) {}
    return "" + (int) value;
  }


}
